[IA64] Add xencomm_arch_hypercall_suspend to fix module load
authorAlex Williamson <alex.williamson@hp.com>
Mon, 4 Feb 2008 15:38:35 +0000 (08:38 -0700)
committerAlex Williamson <alex.williamson@hp.com>
Mon, 4 Feb 2008 15:38:35 +0000 (08:38 -0700)
Make use of split out xencomm_arch_hypercall_suspend to fix the following
module load error:

  Loading xen-platform-pci.ko module
  xen_platform_pci: Unknown symbol xencomm_hypercall_suspend
  insmod: error inserting '/lib/xen-platform-pci.ko':
   -1 Unknown symbol in module
  ERROR: /bin/insmod exited abnormally! (pid 210)

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
unmodified_drivers/linux-2.6/mkbuildtree
unmodified_drivers/linux-2.6/platform-pci/Kbuild

index 88985a5063bb4fbae261a09dcf4c5e0c20bb0512..9d0f04907e450d3f2266e406177bf90aaf484d8d 100755 (executable)
@@ -77,6 +77,7 @@ i[34567]86|x86_64)
     ln -sf ${XL}/include/asm-ia64/xen/xcom_hcall.h include/asm/xen
     ln -sf ${XL}/include/asm-ia64/xen/xencomm.h include/asm/xen
     ln -sf ${XL}/arch/ia64/xen/xcom_hcall.c platform-pci/
+    ln -sf ${XL}/arch/ia64/xen/xcom_asm.S platform-pci/
     ln -sf ${XL}/arch/ia64/xen/xencomm.c platform-pci/xencomm_arch.c
     ln -sf ${XL}/drivers/xen/core/xencomm.c platform-pci
   ;;
index ab836e4d51e81389e8807f7dc88c90586c91cf92..50951f94fd210f98dd3feeda1dfa1af97568c072 100644 (file)
@@ -17,5 +17,5 @@ xen-platform-pci-objs += ../xenbus/xen_proc.o
 
 # Can we do better ?
 ifeq ($(ARCH),ia64)
-  xen-platform-pci-objs += xencomm.o xencomm_arch.o xcom_hcall.o
+  xen-platform-pci-objs += xencomm.o xencomm_arch.o xcom_hcall.o xcom_asm.o
 endif